﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:Trackr.GUI.Views"
	mc:Ignorable="d"
	x:Class="Trackr.GUI.Views.WeekView"
	x:Name="UserControl"
	d:DesignHeight="300" d:DesignWidth="400" >

	<Grid x:Name="gridSplit">
		<Grid.RowDefinitions>
			<RowDefinition x:Name="colChart" Height="0" MaxHeight="0" />
			<RowDefinition x:Name="colItems" Height="*" />
		</Grid.RowDefinitions>
		
		<!--CHART-->
		<Canvas x:Name="canvas" Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Stretch" Visibility="Collapsed" Height="120">
			<Canvas.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFFEFFFE" Offset="0"/>
							<GradientStop Color="#FFDFE9F3" Offset="1"/>
						</LinearGradientBrush>
			</Canvas.Background>
			<Polyline x:Name="polyline" Stroke="#FF2D5D89" StrokeThickness="3" Points="10,50 100,80 150,20 200,60 300,20 350,90 390,20" />
			<Ellipse Fill="#FF2D5D89" StrokeThickness="1" Width="10" Height="10" Margin="5, 45,0,0" />
			<Ellipse Fill="#FF2D5D89" StrokeThickness="1" Width="10" Height="10" Margin="95, 75,0,0" />
			<Ellipse Fill="#FF2D5D89" StrokeThickness="1" Width="10" Height="10" Margin="145, 15,0,0" />
			<Ellipse Fill="#FF2D5D89" StrokeThickness="1" Width="10" Height="10" Margin="195, 55,0,0" />
			<Ellipse Fill="#FF2D5D89" StrokeThickness="1" Width="10" Height="10" Margin="295, 15,0,0" />
			<Ellipse Fill="#FF2D5D89" StrokeThickness="1" Width="10" Height="10" Margin="345, 85,0,0" />
			<Ellipse Fill="#FF2D5D89" StrokeThickness="1" Width="10" Height="10" Margin="385, 15,0,0" />
		</Canvas>
		<GridSplitter  HorizontalAlignment="Stretch" Grid.Row="0" VerticalAlignment="Bottom" ResizeBehavior="CurrentAndNext" Height="5" Background="#FF80ADD6" />
		<!--Day Views-->
		<StackPanel Grid.Row="1" x:Name="stackPanelDayItems" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
			<StackPanel.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
							<GradientStop Color="#FFFEFFFE" Offset="0"/>
							<GradientStop Color="#FFDFE9F3" Offset="1"/>
						</LinearGradientBrush>
			</StackPanel.Background>
			
			<local:DayView VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
			
			
		</StackPanel>
	</Grid>
</UserControl>